remote: Fix gcc `-fanalyzer` warning
authorColin Walters <walters@verbum.org>
Fri, 8 Oct 2021 12:59:52 +0000 (08:59 -0400)
committerColin Walters <walters@verbum.org>
Wed, 13 Oct 2021 21:13:14 +0000 (17:13 -0400)
commita8eed03a1974c285cb7ddf550c7385a4783bb97d
tree3a6dd2222b55935af191feacb1b40ad6d9663890
parent16157e77e5cf017043aac516309eb6e123aed03a
remote: Fix gcc `-fanalyzer` warning

In general, we're probably going to need to change most of our
`g_return_if_fail` to `g_assert`.  The analyzer flags that
the function can return `NULL`, but the caller isn't prepared for
this.

In practice, let's abort.
src/libostree/ostree-remote.c